package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.demo.entity.GgYhxx;
import com.example.demo.vo.YhxxVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component("ggYhxxMapper")
public interface GgYhxxMapper extends BaseMapper<GgYhxx>{
    /**
     * 分页方法
     */
    List<YhxxVo> searchYhxxList(IPage page, @Param("ew") Wrapper wrapper);

    /**
     * 纯查询
     */
    List<YhxxVo> searchYhxxList(@Param("ew") Wrapper wrapper);

}
